<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxSerializer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxSerializer.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classPxSerializer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxSerializer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__extensions.html">Extensions</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Serialization interface class.  
 <a href="classPxSerializer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxSerializer_8h_source.html">PxSerializer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxSerializer:</div>
<div class="dyncontent">
<div class="center"><img src="classPxSerializer__inherit__graph.png" border="0" usemap="#PxSerializer_inherit__map" alt="Inheritance graph"/></div>
<map name="PxSerializer_inherit__map" id="PxSerializer_inherit__map">
<area shape="rect" id="node2" href="classPxSerializerDefaultAdapter.html" title="Default PxSerializer implementation. " alt="" coords="5,80,213,107"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a96746551fdacb2df8da8f2887817ff5f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#a96746551fdacb2df8da8f2887817ff5f">~PxSerializer</a> ()</td></tr>
<tr class="separator:a96746551fdacb2df8da8f2887817ff5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Basics needed for Binary- and RepX-Serialization</div></td></tr>
<tr class="memitem:ab419390747f92b7f44c2bcb6d020096d"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#ab419390747f92b7f44c2bcb6d020096d">getConcreteTypeName</a> () const =0</td></tr>
<tr class="memdesc:ab419390747f92b7f44c2bcb6d020096d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns string name of dynamic type.  <a href="#ab419390747f92b7f44c2bcb6d020096d">More...</a><br /></td></tr>
<tr class="separator:ab419390747f92b7f44c2bcb6d020096d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5db22cae0884acf0c53dc8f6daf719f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#af5db22cae0884acf0c53dc8f6daf719f">requiresObjects</a> (<a class="el" href="classPxBase.html">PxBase</a> &amp;, <a class="el" href="classPxProcessPxBaseCallback.html">PxProcessPxBaseCallback</a> &amp;) const =0</td></tr>
<tr class="memdesc:af5db22cae0884acf0c53dc8f6daf719f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds required objects to the collection.  <a href="#af5db22cae0884acf0c53dc8f6daf719f">More...</a><br /></td></tr>
<tr class="separator:af5db22cae0884acf0c53dc8f6daf719f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19e217a30a3a820cdf27cb9c7650d75d"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#a19e217a30a3a820cdf27cb9c7650d75d">isSubordinate</a> () const =0</td></tr>
<tr class="memdesc:a19e217a30a3a820cdf27cb9c7650d75d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the object is subordinate.  <a href="#a19e217a30a3a820cdf27cb9c7650d75d">More...</a><br /></td></tr>
<tr class="separator:a19e217a30a3a820cdf27cb9c7650d75d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Functionality needed for Binary Serialization only</div></td></tr>
<tr class="memitem:ac3531178852e0c6e43519aa254ceb823"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#ac3531178852e0c6e43519aa254ceb823">exportExtraData</a> (<a class="el" href="classPxBase.html">PxBase</a> &amp;, <a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;) const =0</td></tr>
<tr class="memdesc:ac3531178852e0c6e43519aa254ceb823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exports object's extra data to stream.  <a href="#ac3531178852e0c6e43519aa254ceb823">More...</a><br /></td></tr>
<tr class="separator:ac3531178852e0c6e43519aa254ceb823"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab764ac0639b0616549f934de0b31df9f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#ab764ac0639b0616549f934de0b31df9f">exportData</a> (<a class="el" href="classPxBase.html">PxBase</a> &amp;, <a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;) const =0</td></tr>
<tr class="memdesc:ab764ac0639b0616549f934de0b31df9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exports object's data to stream.  <a href="#ab764ac0639b0616549f934de0b31df9f">More...</a><br /></td></tr>
<tr class="separator:ab764ac0639b0616549f934de0b31df9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0352b843a22c461c9f9c3d3c6bea5b44"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#a0352b843a22c461c9f9c3d3c6bea5b44">registerReferences</a> (<a class="el" href="classPxBase.html">PxBase</a> &amp;obj, <a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;s) const =0</td></tr>
<tr class="memdesc:a0352b843a22c461c9f9c3d3c6bea5b44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register references that the object maintains to other objects.  <a href="#a0352b843a22c461c9f9c3d3c6bea5b44">More...</a><br /></td></tr>
<tr class="separator:a0352b843a22c461c9f9c3d3c6bea5b44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab293fa6c552244823bbb9ab79ab3dcae"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#ab293fa6c552244823bbb9ab79ab3dcae">getClassSize</a> () const =0</td></tr>
<tr class="memdesc:ab293fa6c552244823bbb9ab79ab3dcae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns size needed to create the class instance.  <a href="#ab293fa6c552244823bbb9ab79ab3dcae">More...</a><br /></td></tr>
<tr class="separator:ab293fa6c552244823bbb9ab79ab3dcae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fadfa942cb290428004ef688825dfb3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxBase.html">PxBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSerializer.html#a1fadfa942cb290428004ef688825dfb3">createObject</a> (PxU8 *&amp;address, <a class="el" href="classPxDeserializationContext.html">PxDeserializationContext</a> &amp;context) const =0</td></tr>
<tr class="memdesc:a1fadfa942cb290428004ef688825dfb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create object at a given address, resolve references and import extra data.  <a href="#a1fadfa942cb290428004ef688825dfb3">More...</a><br /></td></tr>
<tr class="separator:a1fadfa942cb290428004ef688825dfb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Serialization interface class. </p>
<p><a class="el" href="classPxSerializer.html" title="Serialization interface class. ">PxSerializer</a> is used to extend serializable <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. ">PxBase</a> classes with serialization functionality. The interface is structured such that per-class adapter instances can be used as opposed to per-object adapter instances, avoiding per object allocations. Hence the methods take a reference to <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. ">PxBase</a> as a parameter.</p>
<p>The <a class="el" href="classPxSerializer.html" title="Serialization interface class. ">PxSerializer</a> interface needs to be implemented for binary or RepX serialization to work on custom types. If only RepX serialization is needed, some methods can be left empty, as they are only needed for binary serialization.</p>
<p>A default implementation is available as a template adapter (<a class="el" href="classPxSerializerDefaultAdapter.html" title="Default PxSerializer implementation. ">PxSerializerDefaultAdapter</a>).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxSerializerDefaultAdapter.html" title="Default PxSerializer implementation. ">PxSerializerDefaultAdapter</a>, <a class="el" href="group__extensions.html#ga8695b63c3fd0f8e29ecce92c64e8f79b" title="Preprocessor Macro to simplify adapter creation. ">PX_NEW_SERIALIZER_ADAPTER</a>, <a class="el" href="classPxSerializationRegistry.html#abd271148a20f6ec9ed37f752ff6d7791" title="Register a serializer for a concrete type. ">PxSerializationRegistry::registerSerializer</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a96746551fdacb2df8da8f2887817ff5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96746551fdacb2df8da8f2887817ff5f">&#9670;&nbsp;</a></span>~PxSerializer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxSerializer::~PxSerializer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1fadfa942cb290428004ef688825dfb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fadfa942cb290428004ef688825dfb3">&#9670;&nbsp;</a></span>createObject()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxBase.html">PxBase</a>* PxSerializer::createObject </td>
          <td>(</td>
          <td class="paramtype">PxU8 *&amp;&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxDeserializationContext.html">PxDeserializationContext</a> &amp;&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create object at a given address, resolve references and import extra data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>Location at which object is created. Address is increased by the size of the created object. </td></tr>
    <tr><td class="paramname">context</td><td>Context for reading external data and resolving references. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Created <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. ">PxBase</a> pointer (needs to be identical to address before increment). </dd></dl>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a8b025cc71d171a5d5f1d1dc0fe816545">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="ab764ac0639b0616549f934de0b31df9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab764ac0639b0616549f934de0b31df9f">&#9670;&nbsp;</a></span>exportData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSerializer::exportData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBase.html">PxBase</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Exports object's data to stream. </p>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a3514c52a4f55add2174bd05600f7d992">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="ac3531178852e0c6e43519aa254ceb823"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3531178852e0c6e43519aa254ceb823">&#9670;&nbsp;</a></span>exportExtraData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSerializer::exportExtraData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBase.html">PxBase</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Exports object's extra data to stream. </p>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a90784fea8b148d20c0688a8269fa2099">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="ab293fa6c552244823bbb9ab79ab3dcae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab293fa6c552244823bbb9ab79ab3dcae">&#9670;&nbsp;</a></span>getClassSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t PxSerializer::getClassSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns size needed to create the class instance. </p>
<dl class="section return"><dt>Returns</dt><dd>sizeof class instance. </dd></dl>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#aea2cb77a709074813a634343497a4f6e">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="ab419390747f92b7f44c2bcb6d020096d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab419390747f92b7f44c2bcb6d020096d">&#9670;&nbsp;</a></span>getConcreteTypeName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* PxSerializer::getConcreteTypeName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns string name of dynamic type. </p>
<dl class="section return"><dt>Returns</dt><dd>Class name of most derived type of this object. </dd></dl>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a58327906eee1c1d30c935af420e91fcd">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a19e217a30a3a820cdf27cb9c7650d75d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19e217a30a3a820cdf27cb9c7650d75d">&#9670;&nbsp;</a></span>isSubordinate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool PxSerializer::isSubordinate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the object is subordinate. </p>
<p>A class is subordinate, if it can only be instantiated in the context of another class.</p>
<dl class="section return"><dt>Returns</dt><dd>Whether the class is subordinate</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxSerialization.html#ad9f930bc95e3372c46bac3347742068f" title="Returns whether the collection is serializable with the externalReferences collection. ">PxSerialization::isSerializable</a> </dd></dl>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a3b5eab93ab615326e85bef5a918d6974">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a0352b843a22c461c9f9c3d3c6bea5b44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0352b843a22c461c9f9c3d3c6bea5b44">&#9670;&nbsp;</a></span>registerReferences()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSerializer::registerReferences </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBase.html">PxBase</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxSerializationContext.html">PxSerializationContext</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register references that the object maintains to other objects. </p>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a01096d2cb96608bfbae8ab7509a9439f">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<a id="af5db22cae0884acf0c53dc8f6daf719f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5db22cae0884acf0c53dc8f6daf719f">&#9670;&nbsp;</a></span>requiresObjects()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSerializer::requiresObjects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBase.html">PxBase</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxProcessPxBaseCallback.html">PxProcessPxBaseCallback</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds required objects to the collection. </p>
<p>This method does not add the required objects recursively, e.g. objects required by required objects.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxCollection.html" title="Collection class for serialization. ">PxCollection</a>, <a class="el" href="classPxSerialization.html#a0cf59eda36c56e9e66bac0c2b5168094" title="Adds to a collection all objects such that it can be successfully serialized. ">PxSerialization::complete</a> </dd></dl>

<p>Implemented in <a class="el" href="classPxSerializerDefaultAdapter.html#a480df87ac9da1fa02e6384258cd99f1a">PxSerializerDefaultAdapter&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxSerializer_8h_source.html">PxSerializer.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxSerializer.html">PxSerializer</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
